<template>
 <div>
   <swiper>
     <swiper-item v-for="item in topImages" class="yinchan">
       <img :src="item">
     </swiper-item>
   </swiper>
 </div>
</template>

<script>
    import {Swiper, SwiperItem} from 'components/common/swiper'

    export default {
      name: "Detailswiper",
      props:{
          topImages:{
            type:Array,
            default(){
              return []
            }
          }
      },
      components:{
        Swiper,
        SwiperItem
      }
    }
</script>

<style scoped>
  .yinchan {
    height:  250px;
    overflow: hidden;
  }
</style>
